import {NgModule} from '@angular/core';
import {RouterModule, Routes} from '@angular/router';
// import {AdminComponent} from "./admin.component";
import {LoginComponent} from './login/login.component';

const routes: Routes = [
    {path: 'tuike/login', component: LoginComponent},
    {path: 'permissions', loadChildren: 'app/tuike/permissions/permissions.module#PermissionsModule'},
    {path: 'invitation', loadChildren: 'app/tuike/invitation/invitation.module#InvitationModule'},
    {path: 'category', loadChildren: 'app/tuike/category/category.module#CategoryModule'},
    {path: 'dailytask', loadChildren: 'app/tuike/dailytask/dailytask.module#DailytaskModule'},
    {path: 'activity', loadChildren: 'app/tuike/banner/banner.module#BannerModule'},
    {path: 'taskmanage', loadChildren: 'app/tuike/task/task.module#TaskModule'},
    {path: 'examine', loadChildren: 'app/tuike/examine/examine.module#ExamineModule'},
    {path: 'withdraw', loadChildren: 'app/tuike/withdraw/withdraw.module#WithdrawModule'},
    {path: 'spread', loadChildren: 'app/tuike/spread/spread.module#SpreadModule'},
    {path: 'customer', loadChildren: 'app/tuike/customer/customer.module#CustomerModule'},
    {path: 'discovery', loadChildren: 'app/tuike/discovery/discovery.module#DiscoveryModule'},
    {path: 'integral', loadChildren: 'app/tuike/integral/integral.module#IntegralModule'},
    {path: 'keyword', loadChildren: 'app/tuike/keyword/keyword.module#KeywordModule'},
    {path: 'system', loadChildren: 'app/tuike/system/system.module#SystemModule'},
    {path: 'robot', loadChildren: 'app/tuike/robot/robot.module#RobotModule'}
];

@NgModule({
    imports: [
        RouterModule.forChild(routes)
    ],
    exports: [
        RouterModule
    ],
    providers: []
})

export class TRoutingModule {
}
